<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<META http-equiv="Content-Type" content="text/html; charset=UTF-8">
<link rel="stylesheet" href="../../../style.css" type="text/css" media="screen">
<link rel="stylesheet" href="../../../print.css" type="text/css" media="print">
<meta content="HashMap,jp.raohmaru.collections.HashMap,iterator,keys,size,values,add,addDictionary,addEntry,addEventListener,clear,clone,containsKey,containsValue,dispatchEvent,getKey,getValue,hasEventListener,removeEventListener,removeKey,removeValue,reset,setValue,toArray,toObject,toString,willTrigger" name="keywords">
<title>jp.raohmaru.collections.HashMap</title>
</head>
<body>
<script type="text/javascript" language="javascript" src="../../../asdoc.js"></script><script type="text/javascript" language="javascript" src="../../../cookies.js"></script><script type="text/javascript" language="javascript">
<!--
				asdocTitle = 'HashMap - Raohmaru AS3 Framework';
				var baseRef = '../../../';
				window.onload = configPage;
			--></script>
<table style="display:none" id="titleTable" cellspacing="0" cellpadding="0" class="titleTable">
<tr>
<td align="left" class="titleTableTitle">Raohmaru AS3 

Framework</td><td align="right" class="titleTableTopNav"><a onclick="loadClassListFrame('../../../all-classes.html')" href="../../../package-summary.html">All&nbsp;Packages</a>&nbsp;|&nbsp;<a onclick="loadClassListFrame('../../../all-classes.html')" href="../../../class-summary.html">All&nbsp;Classes</a>&nbsp;|&nbsp;<a onclick="loadClassListFrame('../../../index-list.html')" href="../../../all-index-A.html">Index</a>&nbsp;|&nbsp;<a href="../../../index.html?jp/raohmaru/collections/HashMap.html&amp;jp/raohmaru/collections/class-list.html" id="framesLink1">Frames</a><a onclick="parent.location=document.location" href="" style="display:none" id="noFramesLink1">No&nbsp;Frames</a></td><td rowspan="3" align="right" class="titleTableLogo"><img alt="Adobe Logo" title="Adobe Logo" class="logoImage" src="../../../images/logo.jpg"></td>
</tr>
<tr class="titleTableRow2">
<td align="left" id="subTitle" class="titleTableSubTitle">Class&nbsp;HashMap</td><td align="right" id="subNav" class="titleTableSubNav"><a href="#propertySummary">Properties</a>&nbsp;| <a href="#methodSummary">Methods</a>&nbsp;| <a href="#eventSummary">Events</a></td>
</tr>
<tr class="titleTableRow3">
<td colspan="2">&nbsp;</td>
</tr>
</table>
<script type="text/javascript" language="javascript">
<!--
if (!isEclipse() || window.name != ECLIPSE_FRAME_NAME) {titleBar_setSubTitle("Class HashMap"); titleBar_setSubNav(false,true,false,false,true,false,true,false,false,false,false,false,false,false);}
--></script>
<div class="MainContent">
<table cellspacing="0" cellpadding="0" class="classHeaderTable">
<tr>
<td class="classHeaderTableLabel">Package</td><td><a onclick="javascript:loadClassListFrame('class-list.html')" href="package-detail.html">jp.raohmaru.collections</a></td>
</tr>
<tr>
<td class="classHeaderTableLabel">Class</td><td class="classSignature">public class HashMap</td>
</tr>
<tr>
<td class="classHeaderTableLabel">Inheritance</td><td class="inheritanceList">HashMap <img class="inheritArrow" alt="Inheritance" title="Inheritance" src="../../../images/inherit-arrow.gif"> flash.utils.Proxy</td>
</tr>
<tr>
<td class="classHeaderTableLabel">Implements</td><td>flash.events.IEventDispatcher, <a href="Iterable.html">Iterable</a></td>
</tr>
</table>
<p></p>
 La clase HashMap le permite guardar datos en el par clave / valor y realizar operaciones sobre la misma.
 Un objeto HashMap distribuye eventos HashMapEvent cuando se realizan modificaciones sobre los datos contenidos.<br><br>
 Esta clase permite además utilizar el operador de acceso a matriz [] para acceder a los métodos <code>getValue()</code> y <code>setValue()</code>.
 <p></p>
<br>
<span class="label">Example</span>
<br><div class='listing'><pre>
import jp.raohmaru.collections.HashMap;
import jp.raohmaru.events.HashMapEvent;

var map :HashMap = new HashMap();
 map.addEventListener(HashMapEvent.HASHMAP_ADD, mapHandler);
 
 map.add("nivel", 1);
 map.add("raza", "beffraen");
 map.add("edad", 29);
 map.add("ciudad", "Minas Tirith");
 
 map["nombre"] = "Altaïr";
 trace( map["raza"] );  // beffraen

function mapHandler(e :HashMapEvent)
{
 trace(e);
}
</pre></div>
 <p></p>
<p>
<span class="classHeaderTableLabel">See also</span>
</p>
<div class="seeAlso">
<a href="../events/HashMapEvent.html" target="">jp.raohmaru.events.HashMapEvent</a>
</div>
<br>
<hr>
</div>
<a name="propertySummary"></a>
<div class="summarySection">
<div class="summaryTableTitle">Public Properties</div>
<table id="summaryTableProperty" class="summaryTable " cellpadding="3" cellspacing="0">
<tr>
<th>&nbsp;</th><th colspan="2">Property</th><th class="summaryTableOwnerCol">Defined&nbsp;by</th>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol"><a class="signatureLink" href="#iterator">iterator</a> : <a href="../collections/Iterator.html">Iterator</a>
<div class="summaryTableDescription">[read-only]
  Obtiene un nuevo iterador para la colección de datos asociada.</div>
</td><td class="summaryTableOwnerCol">HashMap</td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol"><a class="signatureLink" href="#keys">keys</a> : Array<div class="summaryTableDescription">[read-only]
  Obtiene una matriz con todas las claves del objeto HashMap.</div>
</td><td class="summaryTableOwnerCol">HashMap</td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol"><a class="signatureLink" href="#size">size</a> : uint<div class="summaryTableDescription">[read-only]
  Obtiene el número de elementos del objeto HashMap.</div>
</td><td class="summaryTableOwnerCol">HashMap</td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol"><a class="signatureLink" href="#values">values</a> : Array<div class="summaryTableDescription">[read-only]
  Obtiene una matriz con todas los valores del objeto HashMap.</div>
</td><td class="summaryTableOwnerCol">HashMap</td>
</tr>
</table>
</div>
<a name="methodSummary"></a>
<div class="summarySection">
<div class="summaryTableTitle">Public Methods</div>
<table id="summaryTableMethod" class="summaryTable " cellpadding="3" cellspacing="0">
<tr>
<th>&nbsp;</th><th colspan="2">Method</th><th class="summaryTableOwnerCol">Defined&nbsp;by</th>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol">
<div class="summarySignature">
<a class="signatureLink" href="#HashMap()">HashMap</a>(useWeakReferences:Boolean = true)</div>
<div class="summaryTableDescription">
  Crea un nuevo objeto HashMap, indicando si debe utilizar referencias "débiles" en las claves del objeto.</div>
</td><td class="summaryTableOwnerCol">HashMap</td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol">
<div class="summarySignature">
<a class="signatureLink" href="#add()">add</a>(key:*, value:* = null):uint</div>
<div class="summaryTableDescription">
  Añade un nuevo par clave / valor al objeto Dictionary interno.</div>
</td><td class="summaryTableOwnerCol">HashMap</td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol">
<div class="summarySignature">
<a class="signatureLink" href="#addDictionary()">addDictionary</a>(dict:Dictionary):uint</div>
<div class="summaryTableDescription">
  Obtiene los pares clave / valor del objeto Dictionary especificado y los añade a la instancia de HashMap.</div>
</td><td class="summaryTableOwnerCol">HashMap</td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol">
<div class="summarySignature">
<a class="signatureLink" href="#addEntry()">addEntry</a>(entry:Object):uint</div>
<div class="summaryTableDescription">
  Añade un objeto con al menos una propiedad <code>key</code> o <code>value</code>.</div>
</td><td class="summaryTableOwnerCol">HashMap</td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol">
<div class="summarySignature">
<a class="signatureLink" href="#addEventListener()">addEventListener</a>(type:String, listener:Function, useCapture:Boolean = false, priority:int = 0, useWeakReference:Boolean = false):void</div>
<div class="summaryTableDescription">
  Registra un objeto de detector de eventos con un objeto EventDispatcher, de modo que el detector reciba la notificación de un evento.</div>
</td><td class="summaryTableOwnerCol">HashMap</td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol">
<div class="summarySignature">
<a class="signatureLink" href="#clear()">clear</a>():<a href="../collections/HashMap.html">HashMap</a>
</div>
<div class="summaryTableDescription">
  Elimina todas las claves y sus valores asociados.</div>
</td><td class="summaryTableOwnerCol">HashMap</td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol">
<div class="summarySignature">
<a class="signatureLink" href="#clone()">clone</a>():<a href="../collections/HashMap.html">HashMap</a>
</div>
<div class="summaryTableDescription">
  Devuelve una copia del objeto HashMap actual.</div>
</td><td class="summaryTableOwnerCol">HashMap</td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol">
<div class="summarySignature">
<a class="signatureLink" href="#containsKey()">containsKey</a>(key:*):Boolean</div>
<div class="summaryTableDescription">
  Comprueba si el objeto HashMap contiene la clave especificada.</div>
</td><td class="summaryTableOwnerCol">HashMap</td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol">
<div class="summarySignature">
<a class="signatureLink" href="#containsValue()">containsValue</a>(value:*):Boolean</div>
<div class="summaryTableDescription">
  Comprueba si el objeto HashMap contiene el valor especificado.</div>
</td><td class="summaryTableOwnerCol">HashMap</td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol">
<div class="summarySignature">
<a class="signatureLink" href="#dispatchEvent()">dispatchEvent</a>(evt:Event):Boolean</div>
<div class="summaryTableDescription">
  Distribuye un evento en el flujo del evento.</div>
</td><td class="summaryTableOwnerCol">HashMap</td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol">
<div class="summarySignature">
<a class="signatureLink" href="#getKey()">getKey</a>(value:*):*</div>
<div class="summaryTableDescription">
 Obtiene la clave asociada al valor especificado.</div>
</td><td class="summaryTableOwnerCol">HashMap</td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol">
<div class="summarySignature">
<a class="signatureLink" href="#getValue()">getValue</a>(key:*):*</div>
<div class="summaryTableDescription">
 Obtiene el valor asociado a la clave especificada.</div>
</td><td class="summaryTableOwnerCol">HashMap</td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol">
<div class="summarySignature">
<a class="signatureLink" href="#hasEventListener()">hasEventListener</a>(type:String):Boolean</div>
<div class="summaryTableDescription">
  Comprueba si el objeto EventDispatcher tiene detectores registrados para un tipo concreto de evento.</div>
</td><td class="summaryTableOwnerCol">HashMap</td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol">
<div class="summarySignature">
<a class="signatureLink" href="#removeEventListener()">removeEventListener</a>(type:String, listener:Function, useCapture:Boolean = false):void</div>
<div class="summaryTableDescription">
  Elimina un detector del objeto EventDispatcher.</div>
</td><td class="summaryTableOwnerCol">HashMap</td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol">
<div class="summarySignature">
<a class="signatureLink" href="#removeKey()">removeKey</a>(key:*):Boolean</div>
<div class="summaryTableDescription">
  Elimina el par clave / valor asociado a la clave especificada.</div>
</td><td class="summaryTableOwnerCol">HashMap</td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol">
<div class="summarySignature">
<a class="signatureLink" href="#removeValue()">removeValue</a>(value:*):Boolean</div>
<div class="summaryTableDescription">
  Elimina el par clave / valor asociado al valor especificado.</div>
</td><td class="summaryTableOwnerCol">HashMap</td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol">
<div class="summarySignature">
<a class="signatureLink" href="#reset()">reset</a>():void</div>
<div class="summaryTableDescription">
  Reestablece todos los valores asignados a las claves en el objeto HashMap a <code>undefined</code>.</div>
</td><td class="summaryTableOwnerCol">HashMap</td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol">
<div class="summarySignature">
<a class="signatureLink" href="#setValue()">setValue</a>(key:*, value:* = null):void</div>
<div class="summaryTableDescription">
  Establece un valor asociado a la clave especificada.</div>
</td><td class="summaryTableOwnerCol">HashMap</td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol">
<div class="summarySignature">
<a class="signatureLink" href="#toArray()">toArray</a>():Array</div>
<div class="summaryTableDescription">
  Devuelve una matriz con todos los pares clave / valor.</div>
</td><td class="summaryTableOwnerCol">HashMap</td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol">
<div class="summarySignature">
<a class="signatureLink" href="#toObject()">toObject</a>():Object</div>
<div class="summaryTableDescription">
  Devuelve un objeto cuyas propiedades son las claves y los valores asociados del objeto HashMap actual.</div>
</td><td class="summaryTableOwnerCol">HashMap</td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol">
<div class="summarySignature">
<a class="signatureLink" href="#toString()">toString</a>():String</div>
<div class="summaryTableDescription">
  Devuelve una representación de cadena del objeto HashMap.</div>
</td><td class="summaryTableOwnerCol">HashMap</td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol">
<div class="summarySignature">
<a class="signatureLink" href="#willTrigger()">willTrigger</a>(type:String):Boolean</div>
<div class="summaryTableDescription">
  Comprueba si hay registrado un detector de eventos con este objeto EventDispatcher o con cualquiera de sus ascendientes para el tipo de evento concreto.</div>
</td><td class="summaryTableOwnerCol">HashMap</td>
</tr>
</table>
</div>
<a name="eventSummary"></a>
<div class="summarySection">
<div class="summaryTableTitle">Events</div>
<table id="summaryTableEvent" class="summaryTable " cellpadding="3" cellspacing="0">
<tr>
<th>&nbsp;</th><th colspan="2">Event</th><th>Summary</th><th class="summaryTableOwnerCol">Defined&nbsp;by</th>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol">
<div class="summarySignature">
<a class="signatureLink" href="#event:hashMapAdd">hashMapAdd</a>
</div>
</td><td class="summaryTableDescription summaryTableCol">
 Se distribuye cuando se añade un elemento en el objeto HashMap.</td><td class="summaryTableOwnerCol">HashMap</td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol">
<div class="summarySignature">
<a class="signatureLink" href="#event:hashMapChange">hashMapChange</a>
</div>
</td><td class="summaryTableDescription summaryTableCol">
 Se distribuye cuando se realiza un cambio en los elementos del objeto HashMap.</td><td class="summaryTableOwnerCol">HashMap</td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol">
<div class="summarySignature">
<a class="signatureLink" href="#event:hashMapRemove">hashMapRemove</a>
</div>
</td><td class="summaryTableDescription summaryTableCol">
 Se distribuye cuando se elimina un elemento del objeto HashMap.</td><td class="summaryTableOwnerCol">HashMap</td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol">
<div class="summarySignature">
<a class="signatureLink" href="#event:hashMapReplace">hashMapReplace</a>
</div>
</td><td class="summaryTableDescription summaryTableCol">
 Se distribuye cuando se reemplaza un elemento del objeto HashMap.</td><td class="summaryTableOwnerCol">HashMap</td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol">
<div class="summarySignature">
<a class="signatureLink" href="#event:hashMapReset">hashMapReset</a>
</div>
</td><td class="summaryTableDescription summaryTableCol">
 Se distribuye cuando se reestablecen los valores de un objeto HashMap.</td><td class="summaryTableOwnerCol">HashMap</td>
</tr>
</table>
</div>
<script type="text/javascript" language="javascript">
<!--
showHideInherited();
--></script>
<div class="MainContent">
<a name="propertyDetail"></a>
<div class="detailSectionHeader">Property detail</div>
<a name="iterator"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">iterator</td><td class="detailHeaderType">property</td>
</tr>
</table>
<div class="detailBody">
<code>iterator:<a href="../collections/Iterator.html">Iterator</a></code>&nbsp;&nbsp;[read-only]<p>
  Obtiene un nuevo iterador para la colección de datos asociada.
  </p><span class="label">Implementation</span>
<br>
<code>&nbsp;&nbsp;&nbsp;&nbsp;public function get iterator():<a href="../collections/Iterator.html">Iterator</a></code>
<br>
<p>
<span class="label">See also</span>
</p>
<div class="seeAlso">
<a href="ArrayIterator.html" target="">ArrayIterator</a>
</div>
<br>
<span class="label">Example</span>
<br> <div class='listing'><pre>
 import jp.raohmaru.collections.Collection;
 import jp.raohmaru.collections.Iterator;
 
 var collection :Collection = new Collection();
  collection.addItem(0);
  collection.addItem(1);
  collection.addItem(2);
  collection.addItem(3);
  collection.addItem(4);
 var iterator:Iterator = collection.iterator;
 
 while( iterator.hasNext() )
 {
  trace( iterator.next() );
  // salida:
  //    0
  //    1
  //    2
  //    3
  //    4
 }
 </pre></div>
  <p></p>
</div>
<a name="keys"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">keys</td><td class="detailHeaderType">property</td><td class="detailHeaderRule">&nbsp;</td>
</tr>
</table>
<div class="detailBody">
<code>keys:Array</code>&nbsp;&nbsp;[read-only]<p>
  Obtiene una matriz con todas las claves del objeto HashMap.
  </p><span class="label">Implementation</span>
<br>
<code>&nbsp;&nbsp;&nbsp;&nbsp;public function get keys():Array</code>
<br>
<br>
<span class="label">Example</span>
<br> <div class='listing'><pre>
 import jp.raohmaru.collections.HashMap;
 import jp.raohmaru.events.HashMapEvent;
 
 var map :HashMap = new HashMap();  
  map.add("a", 1);
  map.add("b", 2);
  map.add("c", 3);
  map.add("d", 4);
  
 trace( map.keys );  // b,d,a,c
 </pre></div>
  <p></p>
</div>
<a name="size"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">size</td><td class="detailHeaderType">property</td><td class="detailHeaderRule">&nbsp;</td>
</tr>
</table>
<div class="detailBody">
<code>size:uint</code>&nbsp;&nbsp;[read-only]<p>
  Obtiene el número de elementos del objeto HashMap.
  </p><span class="label">Implementation</span>
<br>
<code>&nbsp;&nbsp;&nbsp;&nbsp;public function get size():uint</code>
<br>
</div>
<a name="values"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">values</td><td class="detailHeaderType">property</td><td class="detailHeaderRule">&nbsp;</td>
</tr>
</table>
<div class="detailBody">
<code>values:Array</code>&nbsp;&nbsp;[read-only]<p>
  Obtiene una matriz con todas los valores del objeto HashMap.
  </p><span class="label">Implementation</span>
<br>
<code>&nbsp;&nbsp;&nbsp;&nbsp;public function get values():Array</code>
<br>
<br>
<span class="label">Example</span>
<br> <div class='listing'><pre>
 import jp.raohmaru.collections.HashMap;
 import jp.raohmaru.events.HashMapEvent;
 
 var map :HashMap = new HashMap();  
  map.add("a", 1);
  map.add("b", 2);
  map.add("c", 3);
  map.add("d", 4);
  
 trace( map.values );  // 2,4,1,3
 </pre></div>
  <p></p>
</div>
<a name="constructorDetail"></a>
<div class="detailSectionHeader">Constructor detail</div>
<a name="HashMap()"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">HashMap</td><td class="detailHeaderParens">()</td><td class="detailHeaderType">constructor</td>
</tr>
</table>
<div class="detailBody">
<code>public function HashMap(useWeakReferences:Boolean = true)</code><p>
  Crea un nuevo objeto HashMap, indicando si debe utilizar referencias "débiles" en las claves del objeto.
  </p><span class="label">Parameters</span>
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="20px"></td><td><code><span class="label">useWeakReferences</span>:Boolean</code> (default = <code>true</code>)<code></code> &mdash; Indica al objeto Dictionary interno que utilice referencias "débiles" en las claves del objeto.
  </td>
</tr>
</table>
<p>
<span class="label">See also</span>
</p>
<div class="seeAlso">flash.utils.Dictionary</div>
</div>
<a name="methodDetail"></a>
<div class="detailSectionHeader">Method detail</div>
<a name="add()"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">add</td><td class="detailHeaderParens">()</td><td class="detailHeaderType">method</td>
</tr>
</table>
<div class="detailBody">
<code>public function add(key:*, value:* = null):uint</code><p>
  Añade un nuevo par clave / valor al objeto Dictionary interno.
  Si ya existe la clave especificada en el objeto HashMap, el valor se reemplazará.
  </p><span class="label">Parameters</span>
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="20px"></td><td><code><span class="label">key</span>:*</code> &mdash; La clave a añadir
  </td>
</tr>
<tr>
<td class="paramSpacer">&nbsp;</td>
</tr>
<tr>
<td width="20px"></td><td><code><span class="label">value</span>:*</code> (default = <code>null</code>)<code></code> &mdash; El valor a añadir
  </td>
</tr>
</table>
<p></p>
<span class="label">Returns</span>
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="20"></td><td><code>uint</code> &mdash; El nuevo tamaño de la instancia de HashMap
  </td>
</tr>
</table>
<br>
<span class="label">Example</span>
<br> <div class='listing'><pre>
 import jp.raohmaru.collections.HashMap;
 
 var map :HashMap = new HashMap();  
  map.add( "nivel", 1 );
  map.add( "raza", "beffraen" );
  map.add( "edad", 29 );
  
 trace(map);
 // salida
 // {
 //   nivel: 1
 //   raza: beffraen
 //   edad: 29
 // }
 </pre></div>
  <p></p>
</div>
<a name="addDictionary()"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">addDictionary</td><td class="detailHeaderParens">()</td><td class="detailHeaderType">method</td><td class="detailHeaderRule">&nbsp;</td>
</tr>
</table>
<div class="detailBody">
<code>public function addDictionary(dict:Dictionary):uint</code><p>
  Obtiene los pares clave / valor del objeto Dictionary especificado y los añade a la instancia de HashMap.
  Si ya existe la clave especificada en el objeto HashMap, el valor se reemplazará.
  </p><span class="label">Parameters</span>
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="20px"></td><td><code><span class="label">dict</span>:Dictionary</code> &mdash; Un objeto Dictionary del que obtener las claves y valores
  </td>
</tr>
</table>
<p></p>
<span class="label">Returns</span>
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="20"></td><td><code>uint</code> &mdash; El nuevo tamaño de la instancia de HashMap
  </td>
</tr>
</table>
<br>
<span class="label">Example</span>
<br> <div class='listing'><pre>
 import jp.raohmaru.collections.HashMap;
 import flash.utils.Dictionary;
 
 var dict :Dictionary = new Dictionary(true);
  dict["altura"] = 1.85;
  dict["ojos"] = "verdes";
 
 var map :HashMap = new HashMap();  
  map.addDictionary( dict );
  
 trace(map);
 // salida
 // {
 //   altura: 1.85
 //   ojos: "verdes"
 // }
 </pre></div>
  <p></p>
</div>
<a name="addEntry()"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">addEntry</td><td class="detailHeaderParens">()</td><td class="detailHeaderType">method</td><td class="detailHeaderRule">&nbsp;</td>
</tr>
</table>
<div class="detailBody">
<code>public function addEntry(entry:Object):uint</code><p>
  Añade un objeto con al menos una propiedad <code>key</code> o <code>value</code>.
  Si sólo se define una propiedad, esta será utilizada para definir tanto la clave como el valor.
  Si ya existe la clave especificada en el objeto HashMap, el valor se reemplazará.
  </p><span class="label">Parameters</span>
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="20px"></td><td><code><span class="label">entry</span>:Object</code> &mdash; La clave a añadir
  </td>
</tr>
</table>
<p></p>
<span class="label">Returns</span>
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="20"></td><td><code>uint</code> &mdash; El nuevo tamaño de la instancia de HashMap
  </td>
</tr>
</table>
<br>
<span class="label">Example</span>
<br> <div class='listing'><pre>
 import jp.raohmaru.collections.HashMap;
 
 var map :HashMap = new HashMap();  
  map.addEntry( {key:"a", value:1} );
  map.addEntry( {key:"b"} );
  map.addEntry( {value:3} );
  
 trace(map);
 // salida
 // {
 //   b: b
 //   3: 3
 //   a: 1
 // }
 </pre></div>
  <p></p>
</div>
<a name="addEventListener()"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">addEventListener</td><td class="detailHeaderParens">()</td><td class="detailHeaderType">method</td><td class="detailHeaderRule">&nbsp;</td>
</tr>
</table>
<div class="detailBody">
<code>public function addEventListener(type:String, listener:Function, useCapture:Boolean = false, priority:int = 0, useWeakReference:Boolean = false):void</code><p>
  Registra un objeto de detector de eventos con un objeto EventDispatcher, de modo que el detector reciba la notificación de un evento.
  </p><span class="label">Parameters</span>
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="20px"></td><td><code><span class="label">type</span>:String</code></td>
</tr>
<tr>
<td class="paramSpacer">&nbsp;</td>
</tr>
<tr>
<td width="20px"></td><td><code><span class="label">listener</span>:Function</code></td>
</tr>
<tr>
<td class="paramSpacer">&nbsp;</td>
</tr>
<tr>
<td width="20px"></td><td><code><span class="label">useCapture</span>:Boolean</code> (default = <code>false</code>)<code></code></td>
</tr>
<tr>
<td class="paramSpacer">&nbsp;</td>
</tr>
<tr>
<td width="20px"></td><td><code><span class="label">priority</span>:int</code> (default = <code>0</code>)<code></code></td>
</tr>
<tr>
<td class="paramSpacer">&nbsp;</td>
</tr>
<tr>
<td width="20px"></td><td><code><span class="label">useWeakReference</span>:Boolean</code> (default = <code>false</code>)<code></code></td>
</tr>
</table>
<p>
<span class="label">See also</span>
</p>
<div class="seeAlso">flash.events.EventDispatcher.addEventListener()</div>
</div>
<a name="clear()"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">clear</td><td class="detailHeaderParens">()</td><td class="detailHeaderType">method</td><td class="detailHeaderRule">&nbsp;</td>
</tr>
</table>
<div class="detailBody">
<code>public function clear():<a href="../collections/HashMap.html">HashMap</a></code><p>
  Elimina todas las claves y sus valores asociados.
  </p><p></p>
<span class="label">Returns</span>
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="20"></td><td><code><a href="../collections/HashMap.html">HashMap</a></code> &mdash; 
                        Un nuevo objeto HashMap con los elementos eliminados
  
                        
                     </td>
</tr>
</table>
</div>
<a name="clone()"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">clone</td><td class="detailHeaderParens">()</td><td class="detailHeaderType">method</td><td class="detailHeaderRule">&nbsp;</td>
</tr>
</table>
<div class="detailBody">
<code>public function clone():<a href="../collections/HashMap.html">HashMap</a></code><p>
  Devuelve una copia del objeto HashMap actual.
  </p><p></p>
<span class="label">Returns</span>
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="20"></td><td><code><a href="../collections/HashMap.html">HashMap</a></code> &mdash; 
                        Una copia del objeto HashMap actual
  
                        
                     </td>
</tr>
</table>
</div>
<a name="containsKey()"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">containsKey</td><td class="detailHeaderParens">()</td><td class="detailHeaderType">method</td><td class="detailHeaderRule">&nbsp;</td>
</tr>
</table>
<div class="detailBody">
<code>public function containsKey(key:*):Boolean</code><p>
  Comprueba si el objeto HashMap contiene la clave especificada.
  </p><span class="label">Parameters</span>
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="20px"></td><td><code><span class="label">key</span>:*</code></td>
</tr>
</table>
<p></p>
<span class="label">Returns</span>
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="20"></td><td><code>Boolean</code> &mdash; Si el objeto HashMap contiene la clave especificada, el valor es <code>true</code>. En caso contrario, <code>false</code>
  </td>
</tr>
</table>
</div>
<a name="containsValue()"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">containsValue</td><td class="detailHeaderParens">()</td><td class="detailHeaderType">method</td><td class="detailHeaderRule">&nbsp;</td>
</tr>
</table>
<div class="detailBody">
<code>public function containsValue(value:*):Boolean</code><p>
  Comprueba si el objeto HashMap contiene el valor especificado.
  </p><span class="label">Parameters</span>
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="20px"></td><td><code><span class="label">value</span>:*</code></td>
</tr>
</table>
<p></p>
<span class="label">Returns</span>
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="20"></td><td><code>Boolean</code> &mdash; Si el objeto HashMap contiene el valor especificado, el valor devuelto es <code>true</code>. En caso contrario, <code>false</code>
  </td>
</tr>
</table>
</div>
<a name="dispatchEvent()"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">dispatchEvent</td><td class="detailHeaderParens">()</td><td class="detailHeaderType">method</td><td class="detailHeaderRule">&nbsp;</td>
</tr>
</table>
<div class="detailBody">
<code>public function dispatchEvent(evt:Event):Boolean</code><p>
  Distribuye un evento en el flujo del evento.
  </p><span class="label">Parameters</span>
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="20px"></td><td><code><span class="label">evt</span>:Event</code></td>
</tr>
</table>
<p></p>
<span class="label">Returns</span>
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="20"></td><td><code>Boolean</code></td>
</tr>
</table>
<p>
<span class="label">See also</span>
</p>
<div class="seeAlso">flash.events.EventDispatcher.dispatchEvent()</div>
</div>
<a name="getKey()"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">getKey</td><td class="detailHeaderParens">()</td><td class="detailHeaderType">method</td><td class="detailHeaderRule">&nbsp;</td>
</tr>
</table>
<div class="detailBody">
<code>public function getKey(value:*):*</code><p>
 Obtiene la clave asociada al valor especificado.
 Si existen múltiples valores con el mismo valor, se retornará la primera clave localizada.
 Si no se encuentra el valor, la clave devuelta es <code>null</code>.
 </p><span class="label">Parameters</span>
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="20px"></td><td><code><span class="label">value</span>:*</code> &mdash; El valor del que obtener la clave asociado
 </td>
</tr>
</table>
<p></p>
<span class="label">Returns</span>
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="20"></td><td><code>*</code> &mdash; La clave asociada al valor
 </td>
</tr>
</table>
</div>
<a name="getValue()"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">getValue</td><td class="detailHeaderParens">()</td><td class="detailHeaderType">method</td><td class="detailHeaderRule">&nbsp;</td>
</tr>
</table>
<div class="detailBody">
<code>public function getValue(key:*):*</code><p>
 Obtiene el valor asociado a la clave especificada.
 Si existen múltiples claves con el mismo valor, se retornará el primer valor localizado.
 Si no se encuentra la clave, el valor devuelto es <code>null</code>.
 </p><span class="label">Parameters</span>
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="20px"></td><td><code><span class="label">key</span>:*</code> &mdash; La clave de la que obtener el valor asociado
 </td>
</tr>
</table>
<p></p>
<span class="label">Returns</span>
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="20"></td><td><code>*</code> &mdash; El valor asociado a la clave
 </td>
</tr>
</table>
</div>
<a name="hasEventListener()"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">hasEventListener</td><td class="detailHeaderParens">()</td><td class="detailHeaderType">method</td><td class="detailHeaderRule">&nbsp;</td>
</tr>
</table>
<div class="detailBody">
<code>public function hasEventListener(type:String):Boolean</code><p>
  Comprueba si el objeto EventDispatcher tiene detectores registrados para un tipo concreto de evento.
  </p><span class="label">Parameters</span>
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="20px"></td><td><code><span class="label">type</span>:String</code></td>
</tr>
</table>
<p></p>
<span class="label">Returns</span>
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="20"></td><td><code>Boolean</code></td>
</tr>
</table>
<p>
<span class="label">See also</span>
</p>
<div class="seeAlso">flash.events.EventDispatcher.hasEventListener()</div>
</div>
<a name="removeEventListener()"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">removeEventListener</td><td class="detailHeaderParens">()</td><td class="detailHeaderType">method</td><td class="detailHeaderRule">&nbsp;</td>
</tr>
</table>
<div class="detailBody">
<code>public function removeEventListener(type:String, listener:Function, useCapture:Boolean = false):void</code><p>
  Elimina un detector del objeto EventDispatcher.
  </p><span class="label">Parameters</span>
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="20px"></td><td><code><span class="label">type</span>:String</code></td>
</tr>
<tr>
<td class="paramSpacer">&nbsp;</td>
</tr>
<tr>
<td width="20px"></td><td><code><span class="label">listener</span>:Function</code></td>
</tr>
<tr>
<td class="paramSpacer">&nbsp;</td>
</tr>
<tr>
<td width="20px"></td><td><code><span class="label">useCapture</span>:Boolean</code> (default = <code>false</code>)<code></code></td>
</tr>
</table>
<p>
<span class="label">See also</span>
</p>
<div class="seeAlso">flash.events.EventDispatcher.removeEventListener()</div>
</div>
<a name="removeKey()"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">removeKey</td><td class="detailHeaderParens">()</td><td class="detailHeaderType">method</td><td class="detailHeaderRule">&nbsp;</td>
</tr>
</table>
<div class="detailBody">
<code>public function removeKey(key:*):Boolean</code><p>
  Elimina el par clave / valor asociado a la clave especificada.
  </p><span class="label">Parameters</span>
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="20px"></td><td><code><span class="label">key</span>:*</code> &mdash; La clave a eliminar junto al valor asociado
  </td>
</tr>
</table>
<p></p>
<span class="label">Returns</span>
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="20"></td><td><code>Boolean</code> &mdash; Un valor booleano que representa el resultado de la operación
  </td>
</tr>
</table>
</div>
<a name="removeValue()"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">removeValue</td><td class="detailHeaderParens">()</td><td class="detailHeaderType">method</td><td class="detailHeaderRule">&nbsp;</td>
</tr>
</table>
<div class="detailBody">
<code>public function removeValue(value:*):Boolean</code><p>
  Elimina el par clave / valor asociado al valor especificado.
  </p><span class="label">Parameters</span>
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="20px"></td><td><code><span class="label">value</span>:*</code> &mdash; El valor a eliminar junto a la clave asociada
  </td>
</tr>
</table>
<p></p>
<span class="label">Returns</span>
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="20"></td><td><code>Boolean</code> &mdash; Un valor booleano que representa el resultado de la operación
  </td>
</tr>
</table>
</div>
<a name="reset()"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">reset</td><td class="detailHeaderParens">()</td><td class="detailHeaderType">method</td><td class="detailHeaderRule">&nbsp;</td>
</tr>
</table>
<div class="detailBody">
<code>public function reset():void</code><p>
  Reestablece todos los valores asignados a las claves en el objeto HashMap a <code>undefined</code>.
  </p><br>
<span class="label">Example</span>
<br> <div class='listing'><pre>
 import jp.raohmaru.collections.HashMap;
 import jp.raohmaru.events.HashMapEvent;

 var map :HashMap = new HashMap();  
  map.add( "red", 0xFF0000 );
  map.add( "silver", 0xCCCCCC );
  map.add( "white", 0xFFFFFF );
  
 map.reset();
 trace( map );
 // salida
 // {
 //  red: undefined
 //  silver: undefined
 //  white: undefined
 // }
 </pre></div>
  <p></p>
</div>
<a name="setValue()"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">setValue</td><td class="detailHeaderParens">()</td><td class="detailHeaderType">method</td><td class="detailHeaderRule">&nbsp;</td>
</tr>
</table>
<div class="detailBody">
<code>public function setValue(key:*, value:* = null):void</code><p>
  Establece un valor asociado a la clave especificada.
  Si no existe en la clase Dictionary interna la clave especificada, el valor se añadirá; en caso contrario, se reemplazará.
  </p><span class="label">Parameters</span>
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="20px"></td><td><code><span class="label">key</span>:*</code> &mdash; La clave a añadir
  </td>
</tr>
<tr>
<td class="paramSpacer">&nbsp;</td>
</tr>
<tr>
<td width="20px"></td><td><code><span class="label">value</span>:*</code> (default = <code>null</code>)<code></code> &mdash; El valor a añadir
  </td>
</tr>
</table>
<br>
<span class="label">Example</span>
<br> <div class='listing'><pre>
 import jp.raohmaru.collections.HashMap;
 import jp.raohmaru.events.HashMapEvent;

 var map :HashMap = new HashMap();  
  map.add( "marca", "audi" );
  map.add( "color", 0xCCCCCC );
  
  map.setValue( "puertas", 4 );  // Emite un evento HashMapEvent.HASHMAP_ADD
  map.setValue( "color", 0xFF98CA );  // Emite un evento HashMapEvent.HASHMAP_REPLACE
 </pre></div>
  <p></p>
</div>
<a name="toArray()"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">toArray</td><td class="detailHeaderParens">()</td><td class="detailHeaderType">method</td><td class="detailHeaderRule">&nbsp;</td>
</tr>
</table>
<div class="detailBody">
<code>public function toArray():Array</code><p>
  Devuelve una matriz con todos los pares clave / valor.
  </p><p></p>
<span class="label">Returns</span>
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="20"></td><td><code>Array</code> &mdash; Una matriz que contiene los elementos del objeto HashMap actual
  </td>
</tr>
</table>
<br>
<span class="label">Example</span>
<br> <div class='listing'><pre>
 import jp.raohmaru.collections.HashMap;
 
 var map :HashMap = new HashMap();
  map.add("cero", 0);
  map.add("uno", 1);
  map.add("dos", 2);
  map.add("tres", 3);
 
 var arr :Array = map.toArray();
 trace(arr);  // uno,1,dos,2,tres,3,cero,0
 trace(arr[1]);  // dos,2
 trace(arr.length);  // 4
 </pre></div>
  <p></p>
</div>
<a name="toObject()"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">toObject</td><td class="detailHeaderParens">()</td><td class="detailHeaderType">method</td><td class="detailHeaderRule">&nbsp;</td>
</tr>
</table>
<div class="detailBody">
<code>public function toObject():Object</code><p>
  Devuelve un objeto cuyas propiedades son las claves y los valores asociados del objeto HashMap actual.
  </p><p></p>
<span class="label">Returns</span>
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="20"></td><td><code>Object</code> &mdash; Un objeto con los pares clave / valor del objeto HashMap actual.
  </td>
</tr>
</table>
<br>
<span class="label">Example</span>
<br> <div class='listing'><pre>
 import jp.raohmaru.collections.HashMap;
 
 var map :HashMap = new HashMap();
  map.add("name", "user0");
  map.add("type", "default");
  map.add("data", [128, 256]);
 
 var obj :Object = map.toObject();
 trace( obj.name );  // user0
 trace( obj["data"] );  // 128,256
 </pre></div>
  <p></p>
</div>
<a name="toString()"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">toString</td><td class="detailHeaderParens">()</td><td class="detailHeaderType">method</td><td class="detailHeaderRule">&nbsp;</td>
</tr>
</table>
<div class="detailBody">
<code>public function toString():String</code><p>
  Devuelve una representación de cadena del objeto HashMap.
  </p><p></p>
<span class="label">Returns</span>
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="20"></td><td><code>String</code> &mdash; Una cadena con las claves y los valores del objeto HashMap
  </td>
</tr>
</table>
<br>
<span class="label">Example</span>
<br> <div class='listing'><pre>
 import jp.raohmaru.collections.HashMap;
 
 var map :HashMap = new HashMap();
  map.add(0, "cero");
  map.add(1, "uno");
  map.add(2, "dos");
  map.add(3, "tres");
 trace( map );
 // salida
 // {
 //  0: cero
 //  1: uno
 //  2: dos
 //  3: tres
 // }
 </pre></div>
  <p></p>
</div>
<a name="willTrigger()"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">willTrigger</td><td class="detailHeaderParens">()</td><td class="detailHeaderType">method</td><td class="detailHeaderRule">&nbsp;</td>
</tr>
</table>
<div class="detailBody">
<code>public function willTrigger(type:String):Boolean</code><p>
  Comprueba si hay registrado un detector de eventos con este objeto EventDispatcher o con cualquiera de sus ascendientes para el tipo de evento concreto.
  </p><span class="label">Parameters</span>
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="20px"></td><td><code><span class="label">type</span>:String</code></td>
</tr>
</table>
<p></p>
<span class="label">Returns</span>
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="20"></td><td><code>Boolean</code></td>
</tr>
</table>
<p>
<span class="label">See also</span>
</p>
<div class="seeAlso">flash.events.EventDispatcher.willTrigger()</div>
</div>
<div class="detailSectionHeader">Event detail</div>
<a name="event:hashMapAdd"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">hashMapAdd</td><td class="detailHeaderType">event&nbsp;</td>
</tr>
</table>
<div class="detailBody">
<span class="label">Event object type: </span><a href="../events/HashMapEvent.html"><code>jp.raohmaru.events.HashMapEvent</code></a>
<br>
<p></p><p>
 Se distribuye cuando se añade un elemento en el objeto HashMap.
 </p></div>
<a name="event:hashMapChange"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">hashMapChange</td><td class="detailHeaderType">event&nbsp;</td><td class="detailHeaderRule">&nbsp;</td>
</tr>
</table>
<div class="detailBody">
<span class="label">Event object type: </span><a href="../events/HashMapEvent.html"><code>jp.raohmaru.events.HashMapEvent</code></a>
<br>
<p></p><p>
 Se distribuye cuando se realiza un cambio en los elementos del objeto HashMap.
 </p></div>
<a name="event:hashMapRemove"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">hashMapRemove</td><td class="detailHeaderType">event&nbsp;</td><td class="detailHeaderRule">&nbsp;</td>
</tr>
</table>
<div class="detailBody">
<span class="label">Event object type: </span><a href="../events/HashMapEvent.html"><code>jp.raohmaru.events.HashMapEvent</code></a>
<br>
<p></p><p>
 Se distribuye cuando se elimina un elemento del objeto HashMap.
 </p></div>
<a name="event:hashMapReplace"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">hashMapReplace</td><td class="detailHeaderType">event&nbsp;</td><td class="detailHeaderRule">&nbsp;</td>
</tr>
</table>
<div class="detailBody">
<span class="label">Event object type: </span><a href="../events/HashMapEvent.html"><code>jp.raohmaru.events.HashMapEvent</code></a>
<br>
<p></p><p>
 Se distribuye cuando se reemplaza un elemento del objeto HashMap.
 </p></div>
<a name="event:hashMapReset"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">hashMapReset</td><td class="detailHeaderType">event&nbsp;</td><td class="detailHeaderRule">&nbsp;</td>
</tr>
</table>
<div class="detailBody">
<span class="label">Event object type: </span><a href="../events/HashMapEvent.html"><code>jp.raohmaru.events.HashMapEvent</code></a>
<br>
<p></p><p>
 Se distribuye cuando se reestablecen los valores de un objeto HashMap.
 </p></div>
<br>
<br>
<hr>
<br>
<p></p>
<center class="copyright">http://www.raohmaru.com</center>
</div>
</body>
</html>
<!--http://www.raohmaru.com-->
